package com.steed.app.two.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @author Tony Zhu
 * @since 1.0-SNAPSHOT
 */
@RestController
@RequestMapping(value = "user")
@Slf4j
public class UserController {

    @RequestMapping(method = RequestMethod.GET)
    public String get(){
        log.info("get user information:Tony");
        log.info("I will leave now");
        return "I am tony";
    }
}
